//引入configureStore用来创建一个store
import { configureStore } from "@reduxjs/toolkit";

//引入slice中暴露的reducer,辅助创建store
import countReducer from "./slice/countSlice"
import movieReducer from "./slice/movieSlice"

//创建store 并配置对应的reducer
const store = configureStore({
  reducer:{
    count:countReducer,
    movie:movieReducer
  }
})

export default store